import request from '@/utils/request'

// 问题标签筛选
export function eduSearch(data) {
  return request({
    url: '/api/edu/search',
    method: 'POST',
    data,
  })
}

// 添加问题标签

export function eduAddTag(data) {
  return request({
    url: '/api/edu/add_tag',
    method: 'POST',
    data,
  })
}
//搜索活动策略

export function searchStrategy(data) {
  return request({
    url: '/api/edu/search_strategy',
    method: 'POST',
    data,
  })
}
export function addStrategy(data) {
  return request({
    url: '/api/edu/add_strategy',
    method: 'POST',
    data,
  })
}

// 搜索学习目标

export function searchObjectives(data) {
  return request({
    url: '/api/edu/search_objectives',
    method: 'POST',
    data,
  })
}

// ADD搜索学习目标

export function addObjectives(data) {
  return request({
    url: '/api/edu/add_objectives',
    method: 'POST',
    data,
  })
}

// 搜索活动设计

export function searchActivity(data) {
  return request({
    url: '/api/edu/search_activity',
    method: 'POST',
    data,
  })
}

export function addActivity(data) {
  return request({
    url: '/api/edu/add_activity',
    method: 'POST',
    data,
  })
}
// 添加备课
export function addPrepare(data) {
  return request({
    url: '/api/edu/add_prepare',
    method: 'POST',
    data,
  })
}

//备课LIST
export function prepareList(data) {
  return request({
    url: '/api/edu/prepare_list',
    method: 'POST',
    data,
  })
}

export function editPrepare(data) {
  return request({
    url: '/api/edu/edit_prepare',
    method: 'POST',
    data,
  })
}
//备课审核
export function checkPrepare(data) {
  return request({
    url: '/api/edu/check_prepare',
    method: 'POST',
    data,
  })
}

//搜索教具
export function searchTeaching(data) {
  return request({
    url: '/api/edu/search_teaching',
    method: 'POST',
    data,
  })
}

//添加教具
export function addTeaching(data) {
  return request({
    url: '/api/edu/add_teaching',
    method: 'POST',
    data,
  })
}

//搜索员工
export function searchUser(data) {
  return request({
    url: '/api/search_user',
    method: 'POST',
    data,
  })
}

//课程反馈列表
export function feedBack(data) {
  return request({
    url: '/api/edu/feed_back',
    method: 'POST',
    data,
  })
}
// 添加课程反馈
export function feedBackAdd(data) {
  return request({
    url: '/api/edu/feed_back_add',
    method: 'POST',
    data,
  })
}
export function feedBackDel(data) {
  return request({
    url: '/api/edu/feed_back_del',
    method: 'POST',
    data,
  })
}
